package com.sf.service;

import com.sf.domain.Department;
import com.sf.qo.EmployeeQueryObject;
import com.sf.qo.QueryObject;
import com.sf.utils.PageResult;

import java.util.List;

public interface IDepartment {
    void deleteByPrimaryKey(Long id);
    void insert(Department department);
    void updateByPrimaryKey(Department department);
    Department selectByPrimaryKey(Long id);
    List<Department> selectAll();
    PageResult<Department> query(EmployeeQueryObject qo);

    Department get(Long id);

//    Integer selectForCount();
//    List<Department> selectForList();
}
